/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package volcarobjetos;

import java.io.Serializable;

/**
 *
 * @author User
 */
public abstract class Figura implements Serializable{
    private String color;

    public Figura(String color) {
        this.color = color;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    @Override
    public String toString() {
        return "Figura{" + "color=" + color + '}';
    }
    
}
